﻿<%@ Page Language="c#" ContentType="text/html" ResponseEncoding="utf-8" Async="true" MasterPageFile="~/administration/list_private.master" Inherits="ACM.cmsarea08.Administration.Core.GesMenuItem" %>
<%@ MasterType VirtualPath="~/administration/list_private.master" %>
<asp:Content ID="PageBody" Runat="server" ContentPlaceHolderID="MasterBody">
<h1><img src="../template/admimg/menuitem_big.jpg" alt="MenuItem Manager" />Gestione Voci di Menu</h1>
<asp:DropDownList ID="dropmenu" runat="server"></asp:DropDownList>
<asp:Button id="ref_btn" runat="server" Text=""></asp:Button>
<br />


<ptl:Itan_DataGrid id="insVoci" runat="Server" Title="notitle" ShowTitle="true" autogeneratecolumns="false" ExtendedPager="true" PageNum="1" CurrentPage="1" SelectColumn="true" SelectColumnField="id" CheckingColumn="false" EOrdinabile="true" CssClass="DGridClass"  JavascriptSort="True"  >
<headerstyle Font-Bold="true" CssClass="headDGrid"></headerstyle>
<alternatingitemstyle BackColor="#e1e1e1"></alternatingitemstyle>
<columns>
<asp:BoundColumn DataField="id" Visible="false" ></asp:BoundColumn>
	<asp:TemplateColumn ItemStyle-CssClass="title_tree">
    	<headertemplate><%# rm.GetString("menu_item") %></headertemplate>
    	<itemtemplate>
        	<a onclick="<%# (Eval("tradotto_daNOME").ToString()==""?"":"javascript:return confirm('Ricordati che se modifichi la lingua di questa voce, essa non sar&agrave;  pi&uacute; segnalata come TRADUZIONE.\\nContinuare?')") %>" href="edit_menuitem.aspx?new=0&idtv=<%# Eval("link_tipo") %>&idf=<%# Eval("id") %>" 
            title="<%# (Eval("a_titolo").ToString()==""?rm.GetString("edit_menu_item"):(rm.GetString("edit_menu_item") + "(" + Eval("a_titolo") + ")")) %>">
			<%# Eval("labella") %></a><%# Eval("tradotto_daNOME").ToString()==""?"":("<br/><span class=\"suggest\">" + rm.GetString("trans_of") + " <strong>" + Eval("tradotto_daNOME") + "</strong></span>")  %>

        </itemtemplate>
    </asp:TemplateColumn>
	<asp:TemplateColumn>
    	<headertemplate><%# rm.GetString("menu") %> </headertemplate>
    	<itemtemplate>
        	<%# Eval("isfiglio") %>
        </itemtemplate>
    </asp:TemplateColumn>  
	<asp:TemplateColumn>
    	<headertemplate><%# rm.GetString("menu") %></headertemplate>
    	<itemtemplate>
        	<%# Eval("padreid") %>
        </itemtemplate>
    </asp:TemplateColumn> 
	<asp:TemplateColumn>
    	<headertemplate>Blocco Menu</headertemplate>
    	<itemtemplate>
        	<%# Eval("pmenu_nome") %>
        </itemtemplate>
    </asp:TemplateColumn> 
	<asp:TemplateColumn>
    	<headertemplate>Tipo Voce</headertemplate>
    	<itemtemplate>
        	<%# Eval("t_titolo") %>
        </itemtemplate>
    </asp:TemplateColumn> 
	<asp:TemplateColumn>
    	<headertemplate>Lingua del Menu</headertemplate>
    	<itemtemplate>
        	<%# Eval("langname") %>
        </itemtemplate>
    </asp:TemplateColumn>
	<asp:TemplateColumn >
    	<headertemplate><acronym title="<%# rm.GetString("enabled_disabled") %>">this On/Off</acronym></headertemplate>
    	<itemtemplate>
        	<asp:LinkButton CssClass="jmscmd" id="enable_me" runat="server"></asp:LinkButton>
        </itemtemplate>
    </asp:TemplateColumn> 
	<asp:TemplateColumn>
    	<headertemplate><acronym title="<%# rm.GetString("enabled_disabled") %>">parent On/Off</acronym></headertemplate>
    	<itemtemplate>
        	<%# (Eval("pmenu_attivo").ToString()=="0"?"Off":"On")%>
        </itemtemplate>
    </asp:TemplateColumn>    
	<asp:TemplateColumn>
    	<headertemplate><%# rm.GetString("last_edit") %></headertemplate>
    	<itemtemplate>
        	<%# Eval("data_mod") %>
        </itemtemplate>
    </asp:TemplateColumn>           
</columns>
</ptl:itan_datagrid>
<input type="hidden" id="_idm" runat="server" />
<input type="hidden" value="valoremiochestaisullacollina" id="_idtemplate" runat="server" />
</asp:content>